package cn.wbu.zyh.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class VersionDTO {
    private Long versionTimestamp;
    private String yDocState;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String versionTimeStr;
    private String title; // 新增title字段
    // 构造函数
    public VersionDTO(Long versionTimestamp, String yDocState,String title) {
        this.versionTimestamp = versionTimestamp;
        this.yDocState = yDocState;
        this.title = title;
    }

}

